﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StudentInformationViewPage.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.StudentInformationViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <div align="center">
 <fieldset style="width: 800px; height:600px;">
 <fieldset style="width: 680px; height:auto;">
 <legend style="text-decoration: blink; color:Green;">Student Information</legend>
 <table align="center">
 <tr>
 <td>
     <asp:Label ID="Label1" runat="server" ForeColor="#660066" Text="Search By"></asp:Label>
     </td>
 </tr>
<tr>
<td>
    <asp:RadioButton ID="departmentRadioButton" runat="server" AutoPostBack="True" 
        oncheckedchanged="departmentRadioButton_CheckedChanged" />
    </td>
<td>
    <asp:Label ID="Label" runat="server" Text="Department"></asp:Label>
    </td>
<td>
    <asp:DropDownList ID="departmentDropDownList" runat="server">
    </asp:DropDownList>
    </td>
</tr>
<tr>
<td>
    <asp:RadioButton ID="allRadioButton" runat="server" AutoPostBack="True" 
        oncheckedchanged="allRadioButton_CheckedChanged" />
    </td>
<td>
    <asp:Label ID="Label2" runat="server" Text="All"></asp:Label>
    </td>
<td></td> 
</tr>
<tr>
<td></td>
<td></td>
<td>
    <asp:Button ID="searchButton" runat="server" onclick="searchButton_Click" 
        Text="Search" />
    </td>

</tr>
<tr>
<td></td>
<td></td>
<td>
    <asp:LinkButton ID="studentInformationLinkButton" runat="server" 
        ForeColor="#660066" onclick="studentInformationLinkButton_Click">Personal Student Information</asp:LinkButton>
    </td>
</tr>
 </table>

     </fieldset>
 <div align="center">
 
     <asp:GridView ID="studentGridView" runat="server" BackColor="White" 
         BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
         AutoGenerateColumns="False">
         <Columns>
             <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
             <asp:BoundField DataField="RegNo" HeaderText="Reg No" SortExpression="RegNo" />
             <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
             <asp:BoundField DataField="Contact_No" HeaderText="Contact No" 
                 SortExpression="Contact_No" />
             <asp:BoundField DataField="Address" HeaderText="Address" 
                 SortExpression="Address" />
         </Columns>
         <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
         <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
         <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
         <RowStyle BackColor="White" ForeColor="#330099" />
         <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
         <SortedAscendingCellStyle BackColor="#FEFCEB" />
         <SortedAscendingHeaderStyle BackColor="#AF0101" />
         <SortedDescendingCellStyle BackColor="#F6F0C0" />
         <SortedDescendingHeaderStyle BackColor="#7E0000" />
     </asp:GridView>
 
 </div>
 
 </fieldset>
 </div>
</asp:Content>
